Always allocate at least one bits_word per bool vector.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Nov 2013 18:37:25 +0000 (10:37 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Nov 2013 18:37:25 +0000 (10:37 -0800)
commit6e3ac9649712e91b787bbcf14b7029f625c7370e
tree94ca1134fd82c5fef865ce1a4093b1587491ab7a
parent1043a53f11e729f42d7ed44f7e106ae0d4540b09
Always allocate at least one bits_word per bool vector.

See Daniel Colascione in:
http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00518.html
* alloc.c (make_uninit_bool_vector): Always allocate at least one word.
* data.c (bool_vector_binop_driver): Rely on this.  Tune.
* lisp.h (struct Lisp_Bool_vector): Document this.
src/ChangeLog
src/alloc.c
src/data.c
src/lisp.h